RemoveEmbeddedFrame
TheRemoveEmbeddedFrame
method should remove the specified embedded frame from this part's content.
void RemoveEmbeddedFrame (in ODFrame embeddedFrame);
embeddedFrame
- A reference to an embedded frame of this part.
DISCUSSION
An embedded part calls this part'sRemoveEmbeddedFrame
method when it no longer wants to display itself in the specified frame.If your part supports embedding, your part's
RemoveEmbeddedFrame
method should respond to a request to remove an embedded frame. Your part'sRemoveEmbeddedFrame
method should only remove frames that were added by calls to your part'sRequestEmbeddedFrame
method.OVERRIDING
When you subclassODPart
, you can override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely. This method needs to be implemented only by container parts.EXCEPTIONS
kODErrCannotEmbed
- This part does not support embedding.
kODErrInvalidFrame
- The specified frame is not an embedded frame of this part.
SEE ALSO
TheODPart::RequestEmbeddedFrame
method (page 542).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Removing a Display Frame" on page 112 in OpenDoc Programmer's Guide.
"Removing an Embedded Frame" on page 121 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help